//
//  CommonUserInfo.h
//  quxiangtao
//
//  Created by xbmios on 2018/8/16.
//  Copyright © 2018年 shanhaijin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserInfoModel.h"

@interface CommonUserInfo : NSObject

+ (instancetype)sharedInstance;

// 是否登录
@property (assign, nonatomic) BOOL isLogin;

// 电话号码
@property (copy, nonatomic) NSString *phone;

// 是否设置支付密码
@property (assign, nonatomic) BOOL is_setPayPassword;

// VIP等级
@property (copy, nonatomic) NSString *VIPLevel;

// 是否绑定支付宝
@property (assign, nonatomic) BOOL is_Bind;
// 用户昵称
@property (copy, nonatomic) NSString *nickName;
// 头像url
@property (copy, nonatomic) NSString *photoUrl;
// 头像
@property (strong, nonatomic) UIImage *iconIV;
// 余额
@property (copy, nonatomic) NSString *balance;
// 积分
@property (copy, nonatomic) NSString *beanNum;

// token
@property (copy, nonatomic) NSString *token;

//用户头像圈
@property (nonatomic, copy) NSString *user_type;

//用户等级
@property (nonatomic, copy) NSString *lv;

//趣豆
@property (nonatomic, copy) NSString *bean_quota;

// 用户id
@property (copy, nonatomic) NSString *user_id;

// 用户信息 (包括 手机号，头像，余额，积分，是否设置支付密码，昵称，是否绑定支付宝，vip等级等数据)
@property (strong, nonatomic) UserInfoModel *userInfoModel;

// 微信登录 access_token
@property (copy, nonatomic) NSString *access_token;
// 微信登录 openID
@property (copy, nonatomic) NSString *openID;

@end
